package cn.kgc.luntan.service.Impl;

import cn.kgc.luntan.dao.InvitationMapper;
import cn.kgc.luntan.pojo.Invitation;
import cn.kgc.luntan.service.InvitationService;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 陈啸
 * @create 2020-01-15 15:38
 */
@Scope("prototype")
@Service("inviService")
public class InvitationServiceImpl implements InvitationService {
    @Resource
    private InvitationMapper invitationMapper;
    @Override
    public List<Invitation> getSelectByTitle(String title) {
        return invitationMapper.getSelectByTitle(title);
    }

    @Override
    public Invitation getDelete(int id) {
        return invitationMapper.getDelete(id);
    }
}
